package com.gsy.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;

import com.gsy.aop.annotation.NotRequired;
import com.gsy.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 健康填报表
 * </p>
 *
 * @author gsy
 * @since 2022-03-03
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("tb_health")
@ApiModel(value="HealthEntity对象", description="健康填报表")
public class HealthEntity extends BaseEntity {


    @ApiModelProperty(name = "健康表id", value = "健康表id", dataType = "Integer", example = "健康表id")
    @TableId(value = "h_id", type = IdType.AUTO)
    private Integer hId;

    @ApiModelProperty(name = "用户id", value = "用户id", dataType = "Integer", example = "用户id")
    private Integer uId;

    @ApiModelProperty(name = "当前体温", value = "当前体温", dataType = "Float", example = "当前体温")
    private Float temperature;

    @ApiModelProperty(name = "是否发热", value = "是否发热", dataType = "String", example = "是否发热")
    private String hot;

    @ApiModelProperty(name = "是否去过高风险地区", value = "是否去过高风险地区", dataType = "String", example = "是否去过高风险地区")
    private String gohigharea;

    @ApiModelProperty(name = "是否发热", value = "是否发热", dataType = "String", example = "是否发热")
    private String fever;

    @ApiModelProperty(name = "是否离开学校", value = "是否离开学校", dataType = "String", example = "是否离开学校")
    private String leaveout;

    @ApiModelProperty(name = "是否经过核酸检测", value = "是否经过核酸检测", dataType = "String", example = "是否经过核酸检测")
    private String hesuan;

    @ApiModelProperty(name = "口罩是否充足", value = "口罩是否充足", dataType = "String", example = "口罩是否充足")
    private String mask;

    @ApiModelProperty(name = "口罩剩余数量", value = "口罩剩余数量", dataType = "Integer", example = "口罩剩余数量")
    private Integer masknum;

    @ApiModelProperty(name = "杀毒用品是否充足", value = "杀毒用品是否充足", dataType = "String", example = "杀毒用品是否充足")
    private String kills;

    @ApiModelProperty(name = "存入时间", value = "存入时间", dataType = "Date", example = "存入时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createtime;

    @ApiModelProperty(name = "核酸检测结果", value = "核酸检测结果", dataType = "String", example = "核酸检测结果(已核算检测才填写)")
    @NotRequired
    private String hesuanDetail;

    @ApiModelProperty(name = "隔离地点（被隔离才填写）", value = "隔离地点（被隔离才填写）", dataType = "String", example = "隔离地点（被隔离才填写）")
    @NotRequired
    private String geliAdd;


}
